
#ifndef SM2_H
#define SM2_H
#include <QString>
#include <QByteArray>

bool sm2_sign(const QString &privateKeyPath, const QByteArray &data, QByteArray &signature);
bool sm2_verify(const QString &publicKeyPath, const QByteArray &data, const QByteArray &signature);
bool sm2_generate_keys(const QString &username);

#endif // SM2_H
